(1)
This example demonstrates reading and writing to the port address.
MAIN.C
void main(void)
{
/* Wait until "0xFFFFFF" is on the port address */
while ( EIO41_GetVal() != 0xFFFFFF );
/* Put "0xAAAAAA" to the port address */
EIO41_PutVal(0xAAAAAA);
}
For more about typical usage of the bean code please refer to the page Bean Code Typical Usage.